const getters = {
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    token: state => state.user.token,
    avatar: state => state.user.userInfo.staffPhoto,
    name: state => state.user.userInfo.username,
    userInfo: state => state.user.userInfo,
    allInfo: state => state.user.userInfo.allInfo,
    routes: state => state.permission.routes
}
export default getters